package com.aidex.biz.service;

import com.aidex.common.core.service.BaseService;
import com.aidex.biz.domain.CustomerDongtai;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 客户动态Service接口
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2023-12-28
 */
public interface CustomerDongtaiService extends BaseService<CustomerDongtai> {

    /**
     * 批量删除客户动态
     *
     * @param ids 需要删除的客户动态ID集合
     * @return 结果
     */
    public int deleteCustomerDongtaiByIds(String[] ids);

    /**
     * 获取最大编号
     *
     * @param customerDongtai 客户动态
     * @return 结果
     */
    public int findMaxSort(CustomerDongtai customerDongtai);

    /**
     * 批量插入
     *
     * @param params
     * @return
     */
    public Integer insertBatch(Map<String, Object> params);

    public int insertBatchByCustomerIds(@Param("customerIds") String[] customerIds, @Param("item") CustomerDongtai item);
}
